const express = require('express');
//创建首页路由
const home = express.Router();

//首页
home.get('/',require('./home/index'));

home.get('/admin/login',require('./admin/loginPage'));

//详情页
home.get('/article',require('./home/article'));

//发表评论
home.post('/article-comment',require('./home/article-comment'));

//删除评论
home.get('/article-delete',require('./home/article-delete'));

module.exports = home